package com.demo.data;

import java.io.File;

import javax.swing.Icon;

public class FileNode {

	private String name;
	private File file;
	private Icon icon;

	private boolean isInit;
	private boolean isDummyRoot;
	private boolean isOpen;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public Icon getIcon() {
		return icon;
	}

	public void setIcon(Icon icon) {
		this.icon = icon;
	}

	public boolean isInit() {
		return isInit;
	}

	public void setInit(boolean isInit) {
		this.isInit = isInit;
	}

	public boolean isDummyRoot() {
		return isDummyRoot;
	}

	public void setDummyRoot(boolean isDummyRoot) {
		this.isDummyRoot = isDummyRoot;
	}
	
	public boolean isOpen() {
		return isOpen;
	}

	public void setOpen(boolean isOpen) {
		this.isOpen = isOpen;
	}

	@Override
	public String toString() {
		return name;
	}
}
